package org.spring.springboot.domain;

import java.io.Serializable;

/**
 * 描述：
 * <p>
 *
 * @author: 赵新国
 * @date: 2018/6/29 11:50
 */
public class Area implements Serializable {

    private String provinceName;

    private String cityName;

    private String areaName;

    private String areaId;

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public int getColumnCount() {
        return getClass().getDeclaredFields().length;
    }

    @Override
    public String toString() {
        return "Area{" +
                "provinceName='" + provinceName + '\'' +
                ", cityName='" + cityName + '\'' +
                ", areaName='" + areaName + '\'' +
                ", areaId='" + areaId + '\'' +
                '}';
    }
}
